import React from 'react';
import { View, Text, Button, StyleSheet } from 'react-native';
export default function App() {
 return (
  <View>
    <Text>=======</Text>
    <Child/>
     <Text>=======</Text>
  </View>
 )
};
function Child(){
  return(
    <View>
      <Text>子组件</Text>
    </View>
  )
}

